package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//试题实体类
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul_question")
public class LHQuestion implements Serializable {
	private static final long serialVersionUID = 4232779002778700564L;
	@Id
	private ObjectId id;//题目编号
	private ObjectId questionnaireId; // 问卷id
	private String question; //题目

}
